
import request from '@/utils/request'
//发送注册请求
export function getUserInfo(){
 return request.get('user/getUserInfo')
}

//我的文章
export function userArticle(data){
  return request.get('user/myArticle',{params:data})
 }
//我的收藏和点赞
export function userCollect(data){
  return request.get('user/userDataList',{params:data})
 }
//删除文章
export function delArticle(id){
  return request.get('user/delArticle',{params:id})
 }